const router = require('koa-router')()
const articleApis = require('../controllers/article.js')
const resultHandle = require('../middleware/resultHandle')

router.get('/article-list', articleApis.article_list, resultHandle)

router.post('/article-add', articleApis.article_add, resultHandle)

module.exports = router.routes()
